//
//  AFNetworkTask.swift
//  OneDay
//
//  Created by xicheng on 16/11/16.
//  Copyright © 2016年 xicheng. All rights reserved.
//

import UIKit

class AFNetworkTask: NetworkTask {

  override func cancle() {
    super.cancle()
    if let targetTask = self.targetTask as? URLSessionDataTask {
      targetTask.cancel()
    }
  }
  
}
